package com.example.zjsr.domain;

import com.alibaba.excel.annotation.ExcelProperty;
import com.alibaba.excel.annotation.write.style.ColumnWidth;
import com.alibaba.excel.metadata.BaseRowModel;
import lombok.Data;

@Data
public class ExcelFruit extends BaseRowModel {

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 0, value = "水果种类序号")
    private Integer fruitId;//水果种类序号

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 1, value = "宝贝标题")
    private String title;//宝贝标题



    @ColumnWidth(value = 15)
    @ExcelProperty(index = 2, value = "类别")
    private String category;//水果类别

    @ColumnWidth(value = 15)
    @ExcelProperty(index = 3, value = "主图链接")
    private String pictureLink;//主图链接

    @ExcelProperty(index = 4, value = "售价")
    private String sale;//售价

    @ExcelProperty(index = 5, value = "库存")
    private Integer inventory;//库存

    @ExcelProperty(index = 6, value = "总销量")
    private String totalSales;//总销量

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 7, value = "总销售额")
    private String grossSales;//总销售额

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 8, value = "总收藏量")
    private String collection;//总收藏量

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 9, value = "总评价数量")
    private String evaluationSeveral;//总评价数量

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 10, value = "销量数量")
    private String salesVolume;//销量数量

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 11, value = "价格数据")
    private String price;//价格数据

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 12, value = "评分数据")
    private String score;//评分数据

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 13, value = "库存数据")
    private String inventoryData;//库存数据


    @ColumnWidth(value = 20)
    @ExcelProperty(index = 14, value = "净含量")
    private String netContent;//净含量

    @ExcelProperty(index = 15, value = "省份")
    private String province;//省份

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 16, value = "宝贝地址")
    private String address;//宝贝地址

    @ColumnWidth(value = 20)
    @ExcelProperty(index = 17, value = "评价标签")
    private String evaluationLabel;//评价标签
}
